<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="">
<head>
	<base href="<%=basePath%>">
	<meta charset="utf-8">
	<title>Retina Dashboard</title>
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<meta name="robots" content="" />
	<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
	<link rel="stylesheet" href="resource/css/style.css" media="all" />
	<!--[if IE]><link rel="stylesheet" href="resource/css/ie.css" media="all" /><![endif]-->
</head>
  <section class="widget" style="min-height:300px">
		<header>
			<span class="icon">&#59160;</span>
			<hgroup>
				<h1>Blog</h1>
				<h2>Create new blog page</h2>
			</hgroup>
			<aside>
				<span>
					<a href="#">&#9881;</a>
					<ul class="settings-dd">
						<li><label>Option a</label><input type="checkbox" /></li>
						<li><label>Option b</label><input type="checkbox" checked="checked" /></li>
						<li><label>Option c</label><input type="checkbox" /></li>
					</ul>
				</span>
			</aside>
		</header>
		<form action="servlet/NewMsgServlet" method="post">
			<div class="content">
				<div class="field-wrap">
					<input type="text" value="Title" name="title"/>
				</div>
				<div class="field-wrap">
					<input type="text" value="empno" name="empno"/>
				</div>
				<div class="field-wrap">
					<input type="text" value="Tags" name="tags"/>
				</div>
				<div class="field-wrap wysiwyg-wrap">
					<textarea class="post" rows="5" name="content"></textarea>
				</div>
				<button type="submit" class="green">Post</button> <button type="submit" class="">Preview</button>
			</div>
		</form>
	</section>
  <body>
 
<script src="resource/js/jquery-1.6.1.min.js"></script>
<script src="resource/js/jquery.wysiwyg.js"></script>
<script src="resource/js/custom.js"></script>
<script src="resource/js/cycle.js"></script>
<script src="resource/js/jquery.checkbox.min.js"></script>
<!--<script src="resource/js/flot.js"></script>
<script src="resource/js/flot.resize.js"></script>
<script src="resource/js/flot-graphs.js"></script>
<script src="resource/js/flot-time.js"></script>
<script src="resource/js/cycle.js"></script>-->
<script src="resource/js/jquery.tablesorter.min.js"></script>
</body>
</html>